Creates and returns a Node object representing a new text node with an empty node value.
Throws
when the document is closed
Creates and returns a Node object representing a new text node initialized with the given text
value.
Parameters
Throws
when the document is closed